﻿using System;
using ZFY.UnitOfWork.Interface;

namespace ZFY.UnitOfWork
{
    public class UnitOfWorkEventArgs : EventArgs
    {
        /// <summary>
        /// Reference to the unit of work related to this event.
        /// </summary>
        public IZFYUnitOfWork UnitOfWork { get; }

        public UnitOfWorkEventArgs(IZFYUnitOfWork unitOfWork)
        {
            

            UnitOfWork = unitOfWork;
        }
    }
}
